<template>
  <div class="show-login">
    <slot></slot>
  </div>
</template>

<script>
export default {
}
</script>

<style lang='scss' scoped>
.show-login {
  margin: 20px auto;
  width: 90%;
  background-color: #fff;
  border-radius: 5px;
  padding: 10px 0;
  .login-left-box{
    display: inline-block;
    width: calc(100% - 40px);
    padding: 20px;
    .login-left {
      text-align: center;
      margin: 0 auto;
      //312+36+2
      width: 100%;
      .login-title {
        color: #333;
        font-size: 23px;
        margin: 0 0 30px 0;
      }
      .login-input {
        font-size: 14px;
        height: 38px;
        border: 1px solid #ddd;
        outline: none;
        width: calc(100% - 40px);
        padding-left: 36px;
        background: url('../../assets/images/icon_user.png') no-repeat;
        margin-bottom: 20px;
      }
      .login-name {
        background-position: 13px 13px;
      }
      .login-passwd {
        background-position: 13px -51px;
      }
      .login-auto {
        padding-right: 36px;
        margin: 0 auto 15px auto;
        text-align: left;
        width: 70%;
        .login-auto-box {
          position: relative;
          top: 2px;
        }
        .login-auto-hint {
          font-size: 12px;
          color: #999;
        }
      }
      .register-code{
        .login-v-code{
          width: 70%;
          background-position: 13px -117px;
          float: left;
        }
        .register-go{
          line-height: 42px;
          margin-bottom: 20px;
          color: #666;
        }
      }
      .login-verify {
        width: 100%;
        .login-v-code{
          width: 40%;
          background-position: 13px -117px;
          float: left;
        }
        .login-v-show {
          height: 38px;
          float: right;
          border: 1px solid #eee;
        }
        .login-v-sendbox{
          line-height: 42px;
          color: #666;
        }
      }
      .login-btn {
        margin: auto;
        width: calc(70% + 36px);
        .login-btn-style{
          display: inline-block;
          width: 100%;
          background-color: $base-color;
          color: #fff;
          border-radius: 20px;
          font-size: 16px;
          line-height: 40px;
          cursor: pointer;
        }
        .login-btn-style:hover {
          background-color: #FF7700;
        }
      }
    }
  }
  .login-right {
    display: inline-block;
    vertical-align: top;
    //border - 1
    width: 100%;
    border: 1px dotted #e3e3e3;
    border-width: 0 0 0 1px;
    padding: auto 0;
    text-align: center;
    .loginr-hint {
      font-size: 16px;
      color: #333;
      // margin: 25px 0;
    }
    .loginr-btn {
      margin: 25px 0;
      .loginr-btn-style{
        display: inline-block;
        width: 130px;
        line-height: 40px;
        border: 1px solid $base-color;
        border-radius: 20px;
        color: $base-color;
      }
      .loginr-btn-style:hover{
        background-color: #fefaf6;
      }
    }
  }
}
</style>